//
//  AppConstant.h
//  SYFCode
//
//  Created by Angel_Yan on 16/3/23.
//  Copyright © 2016年 银联科技. All rights reserved.
//

#ifndef AppConstant_h
#define AppConstant_h


#pragma mark--UserType_ENUM



#define isAppStore 1

#if isAppStore

#define BackItemImage @"fanhui"
#define MHRootViewControllerNotification @"MHSwitchRootViewControllerNotification"
///生产环境
#define KRongYun_Key @"tdrvipkstqjf5"
#define KRongYun_AppSecrect @"0D2ImtdLicm"

#else

///开发环境
#define KRongYun_Key @"p5tvi9dsphg04"
#define KRongYun_AppSecrect @"4qCF8NtrDUma"

#endif

#define KJPush_Key @"429f00d52ae0bda99b4a530e"


#define KBaiMap_Key @"3R7nqBdIdM2Ecv9MA5C4hMS0qLq9nG9z"

///< 定位地址
#define KUserLocationAddress               @"KUserLocationAddress"
#define KUserTouSuLocationAddress               @"KUserTouSuLocationAddress"

///< 群 ID
#define KGroupID               @"yeChengAllUserGroup"
#define KGroupName             @"椰城生命线群组"

///< 图文混合分隔符
#define SpareStr @"€Œ"
#define releaseTextKey @"text"
#define releaseImgKey @"arrImgUrl"
#define releaseVideoKey @"videoUrl"


#define KDefaultImage ImageWithName(@"默认")

#define ImageWithName(name) [UIImage imageNamed:(name)]


/// 存储应用版本的key
#define KApplicationVersionKey   @"SBApplicationVersionKey"
/// 应用名称
#define K_APP_NAME    ([[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleName"])
/// 应用版本号
#define K_APP_VERSION ([[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleShortVersionString"])
/// 应用build
#define MK_APP_BUILD   ([[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleVersion"])


#define KBarBtnWidth  AUTO_WIDTH(40)
#define KBarBtnSpace  5

#define BarBtnWidth  50
#define BarBtnHeight 44

#define Com_Btn_CornerRadius 4
#define Com_Btn_Font  FONT_SYS(17)
#define Com_Btn_Height 45
#define Com_Btn_BackgroundColor NORMALCOLOR




// 通知宏定义
#pragma mark - 通知宏定义
#define AESKey @"AIdi9SL9S1WFnb3d"
#define ValidateKey  @"Hif984fojfiFFIE8Fs9adSD2opdDSOXE3Cex"


#define Notice_LoginSuccess									@"Notice_LoginSuccess"
#define Notice_LoginOut                                     @"Notice_LoginOut"




#define Notice_WeiChatAuto  @"Notice_WeiChatAuto" ///< 微信授权


#define Notice_PaymentResult                @"Notice_PaymentResult"
//** 支付结果信息 */
#define kParamPaymentStatus                 @"PaymentStatus"
#define kParamPaymentError                  @"PaymentError"


#endif /* AppConstant_h */
